This page last changed on Jun 01, 2011 by rich.

Stop tomcat 5.0

  1. in services, stop and then disable from starting Tomcat 5.0

Install java 1.6

    1. get  jdk-6u23-windows-i586.exe from oracle (tempbox\rich) and put in c:\download or other temproary directory on anvil
    2. open cmd window, navaigate to and run the above .exe . ( optional: on the wizard that comes up, dont install database and src code)
    3. will create c:\Program Files\java\jre6 and c:\Program Files\jdk1.6.0_23
    4. Set environment variables:
      JAVA_HOME C:\Program Files\Java\jdk1.6.0_23
      JRE_HOME C:\Program Files\Java\jdk1.6.0_23  (for tomcat)
    5. Add to PATH:  ;%JAVA_HOME%\bin
    1. open new cmd window and type java -version
      1. should respond java version 1.6.0_23 etc...

Install ant

  1. create dir C:\Program Files\Ant
  2. Copy apache-ant-1.8.2-bin.zip to above and unzip all
    1. creates apache-ant-1.8.2 sub directory
  3. Set environment variables:
    ANT_HOME C:\Program Files\Ant\apache-ant-1.8.2
  4. Add to PATH:  ;%ANT_HOME%\bin
  5. open new cmd window and type ant -version should respond ant version 1.8.2 etc..

Install tomcat

  1. Get from tempbox\rich\downloads: apache-tomcat-7.0.5.exe
  2. or ... download only the  32-bit/64-bit Windows Service Installer (it gets the Tomcat binarys)  Actually the link downloads: apache-tomcat-7.0.5.exe
  3. Put it to some temp dir, open a dos cmd window,navigate to it and execute it
  4. Use default port 8080 (typhoon), or pick a different port e.g. 8085 for anvil)  admin acct = "admin" and our password to be able to manage it remotely.
  5.  NOTE Anvil is/was port 8085 because there is already an Apache server with 8080.
  6. Accd to M.McCann, IS has new standards... port 8443, firewall cfg, and ssl stuff to be configured here....
  7. Use services panel to stop old apache server, and start the apache7 service.  Note:Had to do this twice...first time failed to start. Also doesnt like to stop cleanly....
  8. I was able to go to another machine and http://134.89.10.35:8085/ or http://anvil:8085

Also see:
see:http://tomcat.apache.org/download-70.cgi
see also:http://www.mulesoft.com/tomcat-windows\\

Install jTDS Drivers, jFreeChart and a bunch of other jar files:

These should all be available in tempbox\rich\downloads\justthejarsplease
jfreechart-1.0.13.jar (from tempbox/rich/downloads)

jcommon-1.0.16.jar

jFastCGI-2.0.jar

commons-logging-1.1.1.jar

commons-pool-1.5.5.jar

commons-collections-3.2.1.jar

commons-dbcp-1.4.jar

jtds-1.2.5.jar
Copy them all to C:\Program Files\Apache Software Foundation\Tomcat 7.0\lib

Or else get them from sourceforge etc like:

  1. via http://jtds.sourceforge.net/
    1.  jtds-1.2.5-dist.zip copy to C:downloads/jtds
    2. extract to there
    3. move the jtds-1.2.5.jar to C:\Program Files\Tomcat 7.0\lib
    4. delete everything else including the zip
    5.  
  2.  
  3.  
  4. modify C:\Program Files\Tomcat 7.0\conf\server.xml so bottom looks like:

 
<Context path="/rovctd" docBase="rovctd" reloadable="true" crossContext="true">
  <Resource
  driverClassName="net.sourceforge.jtds.jdbc.Driver"
factory="org.apache.commons.dbcp.BasicDataSourceFactory"
maxActive="10"
maxIdle="5"
maxWait="5000"
name="jdbc/ROVCTD"
password="password"
type="javax.sql.DataSource"
url="jdbc:jtds:sqlserver://SOLSTICE:1433/Expd"
username="expddba"
removeAbandoned="true"
removeAbandonedTimeout="60"
logAbandoned="true"/>
</Context>

      </Host>
    </Engine>
  </Service>
</Server>

Install jFreeChart and a bunch of other jar files:

jfreechart-1.0.13.jar (from tempbox/rich/downloads)

jcommon-1.0.16.jar

jFastCGI-2.0.jar

commons-logging-1.1.1.jar

commons-pool-1.5.5.jar

commons-collections-3.2.1.jar

commons-dbcp-1.4.jar

jtds-1.2.5.jar

Install the webapps

  1. rovctd
    1. grab  rovctd folder from tempbox\rich\downloads put in C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps
  2. jitensha-rougu (Brian Schlining's...)  ANVIL ONLY, NOT TYPHOON?
    1. copy Tomcat 5.5\webapps\jitensha-rogu.war to Tomcat 7.0\webapps
    2. restart tomcat service (should create cause tomcat to create webapps\jitensh-rogu folder and sub-folders)
  3. any other webapps...besides defaults? (manager and ROOT)
Document generated by Confluence on Feb 04, 2026 08:50